/**
 * 
 */
package com.evriko.commenterall.api.pojo;

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Text;

/**
 * @author vladimir.petrusha
 *
 */
public class Review implements IReview {
	
	private Long id;

	private String author;
	
	private String text;
	
	private Date date;
	
	private Source source;
	
	public Review() {
		
	}
	
	public Review(Source source, String author, String text, Date date) {
		this.source = source;
		this.author = author;
		this.text = text;
		this.date = date;
	}

	public Review(Long id, Source source, String author, String text, Date date) {
		this.id = id;
		this.source = source;
		this.author = author;
		this.text = text;
		this.date = date;
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setAuthor(String author) {
		this.author = author;
	}
	
	public String getAuthor() {
		return this.author;
	}
	
	public void setText(String text) {
		this.text = text;
	}
	
	public String getText(){
		return this.text;
	}
	
	public void setDate(Date date) {
		this.date = date;
	}
	
	public Date getDate(){
		return this.date;
	}
	
	public void setSource(Source source) {
		this.source = source;
	}
	
	public Source getSource(){
		return this.source;
	}
	
	
}
